package com.ldzy.utiln;

public class Respones<T> {
    private  int code;
    private  String msg;
    private  T data;
    public  Respones(int code,String msg){
        this.code=code;
        this.msg=msg;
    }

    public Respones(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Respones(int code) {
        this.code = code;
    }

    public Respones(String msg) {
        this.msg = msg;
    }

    public Respones(T data) {
        this.data = data;
    }

    public Respones(int code, T data) {
        this.code = code;
        this.data = data;
    }

    public Respones(String msg, T data) {
        this.msg = msg;
        this.data = data;
    }

    public Respones() {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
